get

operator external fun get(index: Int): T

Returns the array element at the specified index. This method can be called using the index operator.

value = arr[index]

If the index is out of bounds of this array, throws an IndexOutOfBoundsException.